network iptables addrule accept
network iptables addrule accept
Add a host or network ACCEPT rule to the iptables firewall for the appliance.
User access
admin
Syntax
network iptables addrule accept
host
network
Argument(s) | Shortcut | Description |
---|---|---|
host | h | Adds a host ACCEPT rule to the iptables firewall for the appliance. See network iptables addrule accept host. |
network | n | Adds a network ACCEPT rule to the iptables firewall for the appliance. See network iptables addrule accept network. |
network iptables addrule accept network
Adds a network ACCEPT rule to the iptables firewall for the appliance.
User access
admin
Syntax
network iptables addrule accept network -net <IP_address> -mask <netmask>
Argument(s) | Shortcut | Description |
---|---|---|
-net <IP_address> | -n | Specifies the IP address of the network you are adding the rule for. |
-mask <netmask> | -m | Specifies the network mask of the network you are adding the rule for. |
Example
psesh:>network iptables addrule accept network -net 10.124.92.23 -mask 255.255.254.0
ACCEPT rule added for 10.124.92.23/255.255.254.0 network
Command Result : 0 (Success)
network iptables addrule accept host
Adds a host ACCEPT rule to the iptables firewall for the appliance.
User access
admin
Syntax
network iptables addrule accept host -ip <IP_address>
Argument(s) | Shortcut | Description |
---|---|---|
-ip <IP_address> | -i | Specifies the IP address of the host you are adding the rule for. |
Example
psesh:>network iptables addrule accept host -ip 172.20.11.105
ACCEPT rule added for host 172.20.11.105
Command Result : 0 (Success)